package vn.hanelsoft.newsduet.model.helper;



public class DBDefinition {

	// database version
	public static final int DATABASE_VERSION = 1;

	// database name
	public static final String DATABASE_NAME = "newsduet.db";
	public static final String TABLE_CATEGORIES = "categories";
	public static final String TABLE_NEWS = "news";
	
	public static final String COLUMN_NEWS_ID = "news_id";
	public static final String COLUMN_NEWS_CATEGORY_ID = "news_id_category";
	public static final String COLUMN_NEWS_LINK = "news_link";
	public static final String COLUMN_NEWS_IMAGESRC = "news_imagesrc";
	public static final String COLUMN_NEWS_DESCRIPTION = "news_description";
	public static final String COLUMN_NEWS_PUBDATE = "news_pubdate";
	public static final String COLUMN_NEWS_FAVOURITE = "news_favourite";

	public static final String COLUMN_CATEGORY_ID = "category_id";
	public static final String COLUMN_CATEGORY_TITLE = "category_title";
	public static final String COLUMN_CATEGORY_LINK = "category_link";
	public static final String COLUMN_CATEGORY_LASTUPDATE = "category_lastupdate";
}
